package com.aracky.system.model.vo;

import com.aracky.common.entitybase.BaseCommonVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 菜单权限表
 * </p>
 *
 * @author zzp
 * @since 2022-07-14 11:22:57
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("菜单返回数据")
public class SysMenuVO extends BaseCommonVO {

    @ApiModelProperty("菜单ID,新增不用传")
    private Long menuId;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("父菜单ID")
    private Long parentId;

    @ApiModelProperty("显示顺序")
    private String orderNum;

    @ApiModelProperty("请求地址")
    private String url;

    @ApiModelProperty("打开方式（menuItem页签 menuBlank新窗口）")
    private String target;

    @ApiModelProperty("菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @ApiModelProperty("菜单状态（true显示 false隐藏）")
    private Boolean visible;

    @ApiModelProperty("是否刷新（true刷新 false不刷新）")
    private Boolean isRefresh;

    @ApiModelProperty("权限标识")
    private String perms;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("组件信息")
    private String component;

    @ApiModelProperty("页面名称")
    private String name;

    @ApiModelProperty("按钮类型")
    private String btnType;

    @ApiModelProperty("开启条件")
    private String openConditions;

    @ApiModelProperty("请求api")
    private String api;

    @ApiModelProperty("跳转路径")
    private String path;

    @ApiModelProperty("导出title")
    private String title;

    @ApiModelProperty("子菜单")
    private List<SysMenuVO> childMenuList;

}
